package com.itheima.dao;

import com.itheima.domain.Student;

import java.util.List;

public interface StudentDao {
    int add(Student student);
    int update(Student student);
    int delete(Integer id);

    List<Student>findAll();

    Student findById(Integer id);
}
